package restful.bean;

import java.util.HashMap;

import restful.entity.Product;

public class ProductMap {
	public HashMap getProductMap() {
		HashMap<String, Float> priceMap = new HashMap<String, Float>();
		priceMap.put("可乐", (float) 3);
		priceMap.put("雪碧", (float) 3);
		priceMap.put("橙汁", (float) 2.5);
		priceMap.put("玉泉+C", (float) 7);
		priceMap.put("酱油 ", (float) 4);
		priceMap.put("醋", (float) 18);
		priceMap.put("铅笔", (float) 1);
		HashMap<Integer, String> productMap = new HashMap<Integer, String>();
		productMap.put(0,"可乐");
		productMap.put(1,"雪碧");
		productMap.put(2,"橙汁");
		productMap.put(3,"玉泉+C");
		productMap.put(4,"酱油 ");
		productMap.put(5,"醋");
		productMap.put(6,"铅笔");
		
		return productMap;
		
	}
}
